package msi.someBasicWumpusApplication;
/*
 * Class that defines the agent function.
 * 
 * Written by James P. Biagioni (jbiagi1@uic.edu)
 * for CS511 Artificial Intelligence II
 * at The University of Illinois at Chicago
 * 
 * Last modified 2/19/07 
 * 
 * DISCLAIMER:
 * Elements of this application were borrowed from
 * the client-server implementation of the Wumpus
 * World Simulator written by Kruti Mehta at
 * The University of Texas at Arlington.
 * 
 */

import msi.agentClasses.RulesDrivenAgent;

class AgentFunction {
	
	private String agentName = "Agent Smith";
	private RulesDrivenAgent rda;
	
	public AgentFunction(Environment e)
	{
		rda = new RulesDrivenAgent(e.getWorldSize());
	}

	public int process(TransferPercept tp)
	{
		return rda.handlePercept(tp);
	}
	
	public String getAgentName() {
		return agentName;
	}
}